﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace CoolCode.Entities
{
    public class MenuNode
    {
        public int  ID { get; set; }
        public string Name { get; set; }
        public string Title { get; set; } 
        public string Type { get; set; }
        public bool Enabled { get; set; }
        public int Level { get; set; } 
        public int Seq { get; set; }
        public string ModuleId { get; set; }
        public bool Separate { get; set; }
        public string Target { get; set; }
    }

    public class MenuModel : MenuNode
    {
        public List<MenuModel> Children { get; set; }
        public MenuModel()
        {
            Children = new List<MenuModel>();
        }
    }

    public class ModuleList : List<MenuModel>
    {

    }

     

}
